package com.tcl.aota.persistent.dao.db;

import java.util.List;
import java.util.Map;

import com.tcl.aota.persistent.model.OperLog;

public interface OperLogDAO {
    
    List<OperLog> selectByPrimaryKey(long id);
    
    List<OperLog> selectByAppId(Map<String, Object> param);
    
    List<OperLog> selectByAppIdAndType(long appId, int operation);
    
    void insert(OperLog operLog);
    
    int selectByAppIdForCount(Map<String, Object> param);
    
    void batchInsert(List<OperLog> operLogs);
}
